package com.zhihuishu.micro.course.openapi.course.dto;

import java.util.List;

/**
 * 章对象
 * @author	jiangli
 */
public class CourseLessonDto extends BaseDto {

	private static final long serialVersionUID = 1L;

	private Integer id; // 节ID
	private String name; // 节名称
	private Long courseId; // 节所属课程ID
	private Integer chapterId; // 节所属章ID
	private Integer rank; // 节序号
	private String introduction; // 节简介
	private Integer haveChildren; // 是否有子节点(小节)

	/* 视频信息 */
	private Long videoId; // 节关联视频ID
	private Long videoSec; // 视频时长
	private String videoImg; // 视频封面url
	private String videoUrl; 		// 视频url

    private List<CourseLessonVideoDto> lessonVideoList;	// 节下小节列表

    public List<CourseLessonVideoDto> getLessonVideoList() {
        return lessonVideoList;
    }

    public void setLessonVideoList(List<CourseLessonVideoDto> lessonVideoList) {
        this.lessonVideoList = lessonVideoList;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getChapterId() {
		return chapterId;
	}

	public void setChapterId(Integer chapterId) {
		this.chapterId = chapterId;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}


    public Integer getHaveChildren() {
        return haveChildren;
    }

    public void setHaveChildren(Integer haveChildren) {
        this.haveChildren = haveChildren;
    }

    public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	public Long getVideoSec() {
		return videoSec;
	}

	public void setVideoSec(Long videoSec) {
		this.videoSec = videoSec;
	}

	public String getVideoImg() {
		return videoImg;
	}

	public void setVideoImg(String videoImg) {
		this.videoImg = videoImg;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
}
